package entity;

public class Usermenu {
    private String orderNumber;

    private String productName;

    private Integer productId;

    private Integer productAmount;

    private Double productPrice;


    public Usermenu() {
    }

    public Usermenu(String orderNumber, String productName, Integer productId, Integer productAmount, Double productPrice) {
        this.orderNumber = orderNumber;
        this.productName = productName;
        this.productId = productId;
        this.productAmount = productAmount;
        this.productPrice = productPrice;
    }

    public Usermenu(String orderNumber, Integer productId, Integer productAmount, Double productPrice) {
        this.orderNumber = orderNumber;
        this.productId = productId;
        this.productAmount = productAmount;
        this.productPrice = productPrice;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber == null ? null : orderNumber.trim();
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductAmount() {
        return productAmount;
    }

    public void setProductAmount(Integer productAmount) {
        this.productAmount = productAmount;
    }

    public Double getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Double productPrice) {
        this.productPrice = productPrice;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    @Override
    public String toString() {
        return "Usermenu{" +
                "orderNumber='" + orderNumber + '\'' +
                ", productName='" + productName + '\'' +
                ", productId=" + productId +
                ", productAmount=" + productAmount +
                ", productPrice=" + productPrice +
                '}';
    }
}